Home:ALL Converter>Shiny app - can't read my file (linux)

Shiny app - can't read my file (linux)

Ask Time:2018-01-24T00:12:43         Author:Oolis

Json Formatter

I am really in trouble with my shiny app.

I've installed a shiny server on a linux vm, but everytime I try to run it, it fails (it works locally).

I suspect a problem to read the file.

My three files (obs.csv, ui.R, server.R) are stored in /srv/shiny-server/app_test

I have changed the authorizations of obs.csv

sudo chmod g+w app_anfr/obs.csv

Here the way I call the file in ui.R and server.R

obs=fread("obs.csv",stringsAsFactors = FALSE,encoding="UTF-8")

Any idea?

Author:Oolis,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/48406199/shiny-app-cant-read-my-file-linux
yy